package section_09.performancePromotion.synCompare;

public class BaseLine extends Accumulator {
	{
		id = "BaseLine";
	}

	public void accumulate() {
		value += preLoaded[index++];
		if (index >= SIZE)
			index = 0;
	}

	public long read() {
		return value;
	}
}
